﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using LeadExpress.Models.ViewPages;

namespace LeadExpress.Controllers
{
    public class ManagementController : Controller
    {
        // Create an instance of user manage
        LeadExpress.Repository.UserManagementRepository repository = new LeadExpress.Repository.UserManagementRepository();

        //
        // GET: /Management/Home/
        public ActionResult Index()
        {
            UserManagementModel model = new UserManagementModel();
            model = repository.GetModel(Helpers.Constant.HOME, "Admin", "CreationDate", "desc");
            return View(model);
        }

    }
}
